package br.ufpe.cin.camid.remote.main;

import org.apache.log4j.BasicConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.beust.jcommander.JCommander;

public class CommandExecutor {

	public static void main(String[] args) {
		BasicConfigurator.configure();
		
		Logger logger = LoggerFactory.getLogger(CommandExecutor.class);
		logger.info("Logging test from slf4j/log4j");
		
		CommandLineConfig commandConfig = new CommandLineConfig();
		JCommander commander = new JCommander(commandConfig, args);
		
		
		System.out.println(commandConfig.getNameServerHost());
		commander.usage();
		
	}
	
}
